
<div class="modal fade" id="editmodal-{{$v->id}}" tabindex="-1" role="dialog" aria-labelledby="editModalLabel-{{$v->id}}" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title" id="editModalLabel-{{$v->id}}">编辑项目</h4>
            </div>
            {!! Form::model($v,['route'=>['project.update',$v],'method'=>'PATCH','files'=>'true']) !!}
            <div class="modal-body">
                <div class="form-group">
                  {!! Form::label('name','项目名称:',['class'=>'control-label']) !!}
                  {!! Form::text('name',null,['class'=>'form-control']) !!}
                </div>
                <div class="form-group">
                  {!! Form::label('thum','缩略图:',['class'=>'control-label']) !!}
                  {!! Form::file('thum') !!}
                </div>

            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                  {!! Form::submit('提交更改',['class'=>'btn btn-primary']) !!}
            </div>
            @include('error/errors')
            {!! Form::close() !!}

        </div><!-- /.modal-content -->
    </div><!-- /.modal -->
</div>